package com.company.cloud.page.modules.app.controller.req;

import java.util.List;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.company.cloud.common.bean.BasePageParam;
import com.company.cloud.common.data.bean.DataQueryRuleItem;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class PageDataQuery4PageParam extends BasePageParam{

	@ApiModelProperty(value = "页面编号",required = true)
	@NotEmpty(message = "页面编号不能为空")
	private String pageNo;
	
	@ApiModelProperty(value = "数据分类",required = true)
	@NotEmpty(message = "数据分类不能为空")
	private String remoteFunc;
	
	@ApiModelProperty(value = "数据条件",required = true)
	@NotNull(message = "数据条件不能为空")
	private List<DataQueryRuleItem> remoteOption;
	
}
